package fr.macie.dao;

//import fr.macie.bdd.Bdd;
import fr.macie.bdd.BddB;
import fr.macie.entity.User;
import fr.macie.model.CustomEntityB;

public class DaoUserBddB implements CustomEntityB {
	
	// attaque BddB.javaBddB.java ( nosql)
	
	@Override
	public User readUser(int id) {
		User user = (BddB.getListusers()).get(id);
		return user;
	}
	
}
